/*
 * FileName：VoteApply.java 
 * <p>
 * Copyright (c) 2017-2020 <a href="https://www.smartwx.info">hermit(1154808491@qq.com)</a>.
 * <p>
 * Licensed under the GNU General Public License, Version 3 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.gnu.org/licenses/gpl-3.0.html
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * 
 */
package com.smart.wx.wxcms.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.common.page.Page;
import lombok.Data;
import org.springframework.data.annotation.Transient;

/**
 * 投票报名表
 *
 * @author hermit
 * @version 2.0
 * @date 2018-07-11 20:58:45
 */
@Data
public class VoteApply extends Page implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private String id;
	/**
	 *
	 */
	private String account;
	/**
	 * 
	 */
	private String voteId;
	/**
	 * 
	 */
	private String openId;
	/**
	 * 编号
	 */
	private int number;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	/**
	 *
	 */
	private String nickName;
	/**
	 *
	 */
	private String applyImg;
	/**
	 *
	 */
	private String applyBrief;

	@Transient
	private String voteName;

	/**
	 * 投票人数
	 */
	@Transient
	private String totalCount;


	@Transient
	private List<String> voteIds;
}
